﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace condortravel.operaciones.core.Security
{
    /// <summary>
    /// 
    /// </summary>
    public class UserLoggedIn
    {
        #region Attributes
        private int userID;
        private string userName;
        private List<Option> options;
        private Nullable<DateTime> loginDate;
        private string domain;
        private string userCulture;
        #endregion

        #region Properties
        public string UserCulture
        {
            get { return userCulture; }
            set { userCulture = value; }
        }
        public string Domain
        {
            get { return domain; }
            set { domain = value; }
        }
        public Nullable<DateTime> LoginDate
        {
            get { return loginDate; }
            set { loginDate = value; }
        }
        public List<Option> Options
        {
            get {
                if (options == null)
                    options = new List<Option>();
                return options; 
            
            }
            set { options = value; }
        }
        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }
        public int UserID
        {
            get { return userID; }
            set { userID = value; }
        }

        #endregion

       }
}
